<?php
/*
 * @Author: zwx
 * @Date: 2024-05-30 12:05:58
 * @LastEditors: zwx
 * @LastEditTime: 2024-06-11 21:10:44
 * @Description:
 */
declare (strict_types = 1);

namespace app\apiadmin\command;

use app\apiadmin\service\TCSS\TImService;
use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\facade\Db;
use app\apiadmin\service\liveManager\LiveManagerService;

class syncLiveCallNotificat extends Command
{
    protected function configure()
    {
        // 指令配置
        $this->setName('Live_notice')
            ->setDescription('直播订阅用户电话通知');
    }

    protected function execute(Input $input, Output $output)
    {
//        var_dump(11111);die;
        // 指令输出
        $output->writeln('Live_notice');
        $ls = new LiveManagerService();
        $ls->SendPhoneMessage();
       
        $output->writeln("end Live_notice");

    }
}
